Re: [NTG-context] Bug with \startnarrow?

2023-03-03 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: peter.hopcr...@icloud.com > Gesendet: Donnerstag, 23. Februar 2023 21:15 > An: mailing list for ConTeXt users > Cc: Maier, Denis Christian (UB) > Betreff: Re: [NTG-context] Bug with \startnarrow? > > It's the docume

Re: [NTG-context] Bug with \startnarrow?

2023-02-23 Thread peter.hopcroft--- via ntg-context
It's the documentation that has the bug. With \startnarrow, you need two sets of square brackets, 1 for the \setupnarrower data and 1 for the \startnarrower data. Like this: \starttext Some text before \startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfline]}][left

[NTG-context] Bug with \startnarrow?

2023-02-23 Thread Denis Maier via ntg-context
Hi, While doing some more tests with my example from yesterday (tables in \startnarrow), I've realized that the example from the wiki doesn't seem to quite work as expected: %% \starttext Some text before \startnarrow[left=2cm,right=1cm,before={\blank[2*line]},after={\blank

[NTG-context] \startnarrow seems to have no effect for tabulate

2023-02-22 Thread Denis Maier via ntg-context
Hi, I need to have a table set with tabulate centered and a bit narrower. But it seems that \startnarrow has no effect on the tabulate. Am I missing something ? Is there a better way to achieve the same thing? Best, Denis \starttext \showframe \startplacefigure[location=force,number

Re: [NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-13 Thread Mojca Miklavec via ntg-context
l need to investigate what's going on with the full document. On an unrelated note: I cannot make \startnarrow[middle=1cm] (or left=... for that matter) produce any offset on the left. I was playing with the following code, but the frame refuses to be shifted to the right \setupvimtyping

Re: [NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-13 Thread Mojca Miklavec via ntg-context
int main() { return 0; } \stopprogramlisting For some reason the syntax highlighting doesn't work on the full document, but it works inside the minimal example, so I still need to investigate what's going on with the full document. On an unrelated note: I cannot

Re: [NTG-context] startlines with long lines that break and indent

2021-12-26 Thread Wolfgang Schuster via ntg-context
[ before={\blank\startnarrow[default=left,left=1cm]}, after={\stopnarrow\blank}, indenting={yes,-1cm}] \showframe[text][text] \starttext before \startlines text \dorecurse{10}{ text} text \dorecurse{40}{ text} text \dorecurse{10}{ text} \stoplines after \stoptext Long version

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Henning Hraban Ramm
> Am 04.09.2020 um 16:20 schrieb Wolfgang Schuster > : > > \startsetups [userdata:myquote] > \startnarrow [left=2em,right=1.5em] > %\dontleavehmode\llap{\symbol[leftquotation]}\getinlineuserdata\symbol[rightquotation] > \symbol[leftquotation]\getinlineuserdata\

Re: [NTG-context] Quotation with footnote

2020-09-04 Thread Wolfgang Schuster
? \startsetups [userdata:myquote]     \startnarrow [left=2em,right=1.5em] %\dontleavehmode\llap{\symbol[leftquotation]}\getinlineuserdata\symbol[rightquotation]     \symbol[leftquotation]\getinlineuserdata\symbol[rightquotation]     \doifsomething{\userdataparameter{source}} {\footnote[\userdataparameter

Re: [NTG-context] \startquotation and citations

2020-03-26 Thread Michael Guravage
Thank you Wolfgang, Now is there a way to persuade the quotation marks to protrude? Cheers, Michael \startsetups[userdata:extendedquotation] \startnarrow[] “\getinlineuserdata”\userdataparameter{source} \stopnarrow \stopsetups \defineuserdataalternative [extendedquotation

Re: [NTG-context] \startquotation and citations

2020-03-26 Thread Wolfgang Schuster
erdata environment to create a custom environment with optional arguments. \startsetups[userdata:extendedquotation] \startnarrow[middle=4em] “\getinlineuserdata”\userdataparameter{source} \stopnarrow \stopsetups \defineuserdataalternative [extendedquotation] [renderingsetup=userdata:extendedquo

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
footer=0.5in, >> bottom=0.25in, >> backspace=1.1in] >> \definepapersize [octavo] >> [width=6in, >> height=9in] >> \setuppagenumbering [location=] >> \set

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
=] \setuppapersize  [octavo] \setupbodyfont   [Termes,10pt] \starttext \starttitle  [title={N aa aaa }] \startsubject    [title={B}]   Faaa aaa {\em Naa Yaaa T} aa C 22, 9990 (   999): \startnarrow [MidOneEm

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
}]   Faaa aaa {\em Naa Yaaa T} aa C 22, 9990 (   999): \startnarrow [MidOneEm]   {\bi Maaa Fa, 86; R Laaa aaa Pa Ta Ba a La}   Da.~Fa, a aa aaa Ja I aa Raaa, aa aa   a Ta Ia

Re: [NTG-context] annotated text: main text in narrower text, annotations on the right

2016-10-02 Thread MF
  [SidenotesMargin]   [before=\blank,    after=\blank,    right=-1cm,    %right=\rightmarginwidth,    default=-right] \defineparagraphs[Sidenotes] \setupparagraphs [Sidenotes]  [n=2,before={\startnarrow[SidenotesMargin]},after=\stopnar row] \setupparagraphs [Sidenotes:1][width=.55\localhsize,distance

Re: [NTG-context] annotated text: main text in narrower text, annotations on the right

2016-09-30 Thread Wolfgang Schuster
nwidth, default=-right] \defineparagraphs[Sidenotes] \setupparagraphs [Sidenotes] [n=2,before={\startnarrow[SidenotesMargin]},after=\stopnarrow] \setupparagraphs [Sidenotes:1][width=.6\localhsize,distance=.1\localhsize] \setupparagraphs [Sidenotes:2][width=.3\localhsize] \starttext \input

Re: [NTG-context] environment flushright

2016-06-10 Thread Wolfgang Schuster
I get bla bla bla bla bla if (and only if) there’s a line break. Thanks, and all best Is indenting a solution for you? \definenarrower [thomas] [left=4cm, default=left, before={\setupindenting[yes,-4cm]}] \starttext \startnarrow[thomas] \input knuth \stopnarrow \stoptext Wo

Re: [NTG-context] Poem with long verses

2014-06-21 Thread Wolfgang Schuster
of the second line can be achieved in two different ways, the first is to indent the whole block on the left side with the \startnarrow command and use a negative paragraph indentation for the first line. \usemodule[visual] \definelines [verse] [before={\startnarrow[left=1em,default=left

Re: [NTG-context] option suggestion for \setupindenting

2014-03-06 Thread Pablo Rodriguez
, \definestartstop [weird] [before={\startnarrow[left=2em,default=left]\setupindenting[yes,-2em]}, after={\stopnarrow}] \setupindenting[yes,2em] Many thanks for your fast reply, Wolfgang. I have a book that I want to typeset using ConTeXt, to show its author the results. \leftskip and \parindent

Re: [NTG-context] option suggestion for \setupindenting

2014-03-06 Thread Hans Hagen
options? Many thanks for your help, \definestartstop [weird] [before={\startnarrow[left=2em,default=left]\setupindenting[yes,-2em]}, after={\stopnarrow}] \setupindenting[yes,2em] Many thanks for your fast reply, Wolfgang. I have a book that I want to typeset using ConTeXt, to show its

Re: [NTG-context] setupnarrower and startnarrower

2013-08-07 Thread Hans Hagen
of the oldest commands which also means that it's used in our styles however, we already have \startnarrow and i extended that one to accept a few more combinations: \showframe \definenarrower[whatever][left=3cm,right=2cm,default=left] \starttext \input ward \startnarrower[2*left] \input ward

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Wolfgang Schuster
[NARROW][alternative=narrow] \starttext \input ward \startNARROW[leftmargin=3cm] \input ward \stopNARROW \input ward \startNARROW[rightmargin=2cm] \input ward \stopNARROW \input ward \stoptext Wolfgang ___ If your

Re: [NTG-context] setupnarrower and startnarrower

2013-08-06 Thread Alan BRASLAU
=\blank] or \startnarrower [left=3cm] [left] etc. \usemodule[annotation] \defineannotation[NARROW][alternative=narrow] \starttext \input ward \startNARROW[leftmargin=3cm] \input ward \stopNARROW \input ward \startNARROW[rightmargin=2cm] \input ward \stopNARROW

[NTG-context] different interlinear space for quotation?

2012-12-09 Thread Pablo Rodríguez
\definenarrower[narrowlines][left=4em, setups=setups:narrow] \definelines[narrow][before={\blank\startnarrowlines[left]},after=\stopnarrowlines\blank] \stopsetups \starttext \input ward\par \startnarrow \input knuth\par \stopnarrow \input ward\par \stoptext Does anyone know how can I achieve a smaller font

[NTG-context] different vertical space with \definelines and \setuplines

2012-12-09 Thread Pablo Rodríguez
Hi Hans, I have the following sample: \definelines[narrow][before=\blank,after=\blank] \stopsetups \starttext This is a paragraph.\par \startnarrow this is a verse this is a verse \stopnarrow This is paragraph.\par \stoptext If I replace \definelines with \setuplines, before and after aren't

Re: [NTG-context] different vertical space with \definelines and \setuplines

2012-12-09 Thread Wolfgang Schuster
Am 09.12.2012 um 20:08 schrieb Pablo Rodríguez oi...@web.de: Hi Hans, I have the following sample: \definelines[narrow][before=\blank,after=\blank] \stopsetups \starttext This is a paragraph.\par \startnarrow this is a verse this is a verse \stopnarrow This is paragraph.\par

Re: [NTG-context] different interlinear space for quotation?

2012-12-09 Thread Wolfgang Schuster
[setups:narrow] \setupinterlinespace[line=2.8ex] \tfx \stopsetups \definenarrower[narrowlines][left=4em, setups=setups:narrow] \definelines[narrow][before={\blank\startnarrowlines[left]},after=\stopnarrowlines\blank] \stopsetups \starttext \input ward\par \startnarrow \input knuth\par

[NTG-context] startnarrower

2009-10-03 Thread Wolfgang Schuster
=0.5em] \definenarrower[narrow][before={\blank[4*line]},after={\blank [4*line]},middle=4.0em] \starttext \input ward \startnarrower \input ward\endgraf \stopnarrower \input ward \startnarrow \input ward\endgraf \stopnarrow \input ward \startwide \input ward\endgraf \stopwide \input ward